#ifndef INT_SUPT_H
#define INT_SUPT_H

#include <stdio.h>
#include <stdlib.h>

#define TEMP_STACK 2000

#define NUM_DEVICES 2

void interrupt dispatch();
int dispatchcmd();
void interrupt sys_call(void);
int loadprocs(char *name, char *priority);

typedef struct context
{
	unsigned int BP, DI, SI, DS, ES;
	unsigned int DX, CX, BX, AX;
	unsigned int IP, CS, FLAGS;
} context;

typedef struct params
{
	int op_code;
	int device_id;
	char *buf_addr;
	int *count_addr;
} params;

#endif
